// import com.alibaba.druid.DbType;
// import com.alibaba.druid.sql.ast.SQLExpr*;
// import com.alibaba.druid.sql.ast.SQLName*;
// import com.alibaba.druid.sql.ast.SQLReplaceable;
// import com.alibaba.druid.sql.ast.SQLStatementImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor*;
#pragma once
#include <string>
#include <list>
#include "../SQLStatementImpl.h"
#include "../SQLReplaceable.h"
#include "SQLDropStatement.h"

class SQLName;
class SQLExpr;
class DbType;
class SQLASTVisitor;
class SQLObject;
class SQLDDLStatement;

class SQLDropFunctionStatement 
:virtual public SQLStatementImpl, 
virtual public SQLDropStatement, 
virtual public SQLReplaceable
{
public:
  SQLName_ptr name;
  BOOL_ptr ifExists;
  BOOL_ptr temporary;

  SQLDropFunctionStatement();

  SQLDropFunctionStatement(DbType_ptr   dbType);
  SHAREDOBJECT(SQLDropFunctionStatement);

  void accept0(SQLASTVisitor_ptr visitor);

  SQLName_ptr getName();

  void setName(SQLName_ptr name);

  BOOL_ptr isIfExists();

  void setIfExists(BOOL_ptr ifExists);

  BOOL_ptr isTemporary();

  void setTemporary(BOOL_ptr temporary);

  BOOL_ptr replace(SQLExpr_ptr expr, SQLExpr_ptr target);
};
